/*
 * Copyright (c) 2016 zhangcm. All Rights Reserved.
 */
package com.jnzc.ocr.serv.shop.service;

import com.jnzc.ocr.common.bean.PageResult;
import com.jnzc.ocr.dependencies.serv.mybatis.MybatisService;
import com.jnzc.ocr.serv.shop.entity.ShopMarketingPlan;
import com.jnzc.ocr.serv.shop.filter.ShopMarketingPlanFilter;
import com.jnzc.ocr.serv.shop.vo.ShopMarketingPlanSelectResultVo;
import com.jnzc.ocr.serv.shop.vo.ShopMarketingPlanSelectVo;
import com.jnzc.ocr.serv.shop.vo.ShopMarketingPlanSelectedVo;

import java.util.List;
import java.util.Map;

/**
 * @author zhangcm
 * @version 1.0, 2017/9/13
 */
public interface ShopMarketingPlanService extends MybatisService<ShopMarketingPlan, ShopMarketingPlanFilter> {

    ShopMarketingPlan find(Long id, Long shopId);

    void delete(Long id);

    Map<String, ShopMarketingPlanSelectResultVo> selectPlan(ShopMarketingPlanSelectVo selectVo, Long shopId);

    List<ShopMarketingPlanSelectResultVo> list(List<ShopMarketingPlanSelectedVo> voList, Long shopId);
}
